import Layout from '@/page/index/index.vue'
import Store from '@/config/store/'
export default [
  {
  path: '/wel',
  component: () => Store.getters.isMacOs ? import('@/page/mac/index.vue') : import('@/page/index/index.vue'),
  redirect: '/wel/index',
  children: [{
    path: 'index',
    name: '首页',
    component: () =>
      import('@/page/wel.vue')
  }]
}, {
  path: '/iframe',
  component: Layout,
  redirect: '/iframe',
  children: [{
    path: '',
    name: '',
    component: () =>
      import('@/components/iframe/main.vue')
  }]
}, {
  path: '/info',
  component: Layout,
  redirect: '/info/index',
  children: [{
    path: 'index',
    name: '个人信息',
    component: () =>
      import('@/views/admin/user/info.vue')
  }, {
    path: 'setting',
    name: '个人设置',
    component: () =>
      import('@/views/admin/user/setting.vue')
  }]
}]